-
Notifications
You must be signed in to change notification settings - Fork 131
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Features/add stream support #58
base: master
Are you sure you want to change the base?
Features/add stream support #58
Conversation
0aac300
to
50192cd
Compare
It seems using the TF formatting config is causing a lot of changes - probably because of the 80 character limit that Google uses. It's kinda hard to isolate the actual changes in this PR. It would be awesome if you could just have the main changes and keep the formatting as is for the unchanged parts - I believe the default yapf formatting (probably with a line limit of 120) should result in around the same formatting as the code currently has. |
class CacheStaleException(Exception): | ||
r"""Raised when the dataset cache is stale and no fallback behavior is specified. | ||
""" | ||
pass |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this line deleted?
|
||
begin = timer() | ||
dataset_args = {'fields': fields, 'column_naming': column_naming} | ||
dataset = MatchingDataset(path=path, **dataset_args) | ||
dataset = MatchingDataset(stream=stream, **dataset_args) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe I'm missing something - MatchingDataset does not take "stream" as argument right?
planning on contributing few more patches. It would be useful to have a standard format.
right now I used the pep8 with yapf and pylintrc (the standard tensorflow rc).
other patches contain fixes for lazy loading (ie. no fixed
.format
) and for loading the datasets from a stream (used in online batch setting).Let me know if these are welcome and I will try to propose them as I work on my own repository.